<#macro profileItem profile>
	<div class="col-md-4 item-${profile.id} well">
		<div class="info">
			<span class="id">${profile.id}</span>
			<p class="title"><strong>${ellipsis(profile.title, 20)}</strong></p>
			<p>${ellipsis(profile.description, 20)}</p>
			<p><i>Related topics: </i>${profile.topicsList?size!"0"}</p>
			<a href="<@spring.url '/profiles/update/${profile.id}' />" class="btn btn-primary">update</a>
		</div>
		<a class="delete" data-id="${profile.id}"></a>
	</div>
</#macro>

